package com.mhkj.base.calender.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Lob;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;


import com.mics.core.common.validate.annotation.Validate;
import com.mics.core.system.base.entity.BaseDomain;

/**
 * 工作日历
 * @author mics
 * @date 2018年7月2日
 * @version 1.0
 */
@Entity
@Table(name="t_work_calender")
@Validate
public class WorkCalender extends BaseDomain{

	/**
	 * 序列号
	 */
	private static final long serialVersionUID = -4070352337269120457L;
	/**
	 * 时间
	 */
	@Column(name="date")
	@Temporal(TemporalType.DATE)
	private Date date;
	/**
	 * 类型 1、工作日  2、非工作日
	 */
	@Column(name="type")
	private int type = 0;
	
	/**
	 * 说明
	 */
	@Lob
	@Column(name="remark")
	private String remark;
	

	public Date getDate() {
		return date;
	}
	public void setDate(Date date) {
		this.date = date;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public int getType() {
		return type;
	}
	public void setType(int type) {
		this.type = type;
	}
	
	
}
